

<div class="box-sb">
                        <div class="head bgred">Danh mục</div>
                        <div class="content-box-sb">
                            <ul class="catsb">
                            <?php foreach($this->data as $key=>$value):?>
                            <li><a href="<?php echo "/danh-muc/".$value['id']."-".$this->cleanstring($value['name']).".html";?>"><?php echo $value['name'];?></a>
                                <ul>
                                <?php foreach($value['products'] as  $vPro) {?>
                                <li><a href="<?php echo "/danh-muc/".$vPro['id']."-".$this->cleanstring($vPro['name']).".html";?>"><?php echo $vPro['name'];?></a>
                                <?php }?>
                               
                                </ul>
                            </li>
                            <?php endforeach;?>
                            
                            </ul>
                        </div>
                        
                    </div>